package goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import common.model.goods.SpuAttribute;
import java.util.List;

@Mapper
public interface SpuAttributeMapper extends BaseMapper<SpuAttribute> {
    @Select("SELECT * FROM spu_attribute WHERE spu_id = #{id}")
    List<SpuAttribute> selectBySpuId(Long id);
}
